
package galcon;

import javax.swing.*;
import galcon.visuals.*;
import galcon.utils.*;

public class Main {
	public static void main (String [] args) {
		GameEngine engine = new GameEngine ();
		
		JFrame frame = new JFrame ("Galcon");
		frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
		frame.setContentPane (engine);
		frame.pack ();
		frame.setVisible (true);
		
		int millisecs = Constants.TICK_TIME;
		
		Timer time = new Timer (millisecs, engine);
		time.start ();
	}
}
